package cn.com.taiji.oospub.wechat.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yzd
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SchoolBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    @TableField("Name_Zh")
    private String nameZh;

    @TableField("Name_En")
    private String nameEn;

    @TableField("Code")
    private String Code;

    @TableField("Contact_Zh")
    private String contactZh;

    @TableField("Contact_En")
    private String contactEn;

    @TableField("Mobile")
    private String Mobile;

    @TableField("Email")
    private String Email;

    @TableField("Address")
    private String Address;

    @TableField("Zip_Code")
    private String zipCode;

    @TableField("Logo_Pic")
    private String logoPic;

    @TableField("List_Num")
    private Double listNum;

    @TableField("Remark")
    private String Remark;

    @TableField("Creator")
    private String Creator;

    @TableField("Create_Time")
    private LocalDateTime createTime;

    private String hasPos;

    private String pubUrl;

    private String message;

    @TableField("useXj")
    private UseXj useXj;

    @TableField("zhOrEn")
    private String zhOrEn;

    @TableField("diancanUrl")
    private String diancanUrl;

    @TableField("dinghuoUrl")
    private String dinghuoUrl;

    private String qcsj;

    @TableField("syQcsj")
    private YesOrNot syQcsj;

    @TableField("weekMenuImg")
    private String weekMenuImg;

    private String mes;

    @TableField("dianCanTime")
    private String dianCanTime;

    @TableField("tueImg")
    private String tueImg;

    @TableField("wedImg")
    private String wedImg;

    @TableField("thuImg")
    private String thuImg;

    @TableField("friImg")
    private String friImg;

    @TableField("satImg")
    private String satImg;

    @TableField("sunImg")
    private String sunImg;

    @TableField("hasNut")
    private String hasNut;

    @TableField("cashSend")
    private String cashSend;

    @TableField("paySend")
    private String paySend;

    @TableField("canCelSend")
    private String canCelSend;

    @TableField("receiveSend")
    private String receiveSend;

    @TableField("pickUpSend")
    private String pickUpSend;

    @TableField("noticeSend")
    private String noticeSend;

    @TableField("take_meal_type")
    private String takeMealType;


    public enum YesOrNot
    {
        Y("使用"){},
        N("不使用"){};

        @JsonValue
        private String value;

        YesOrNot(String value)
        {
            this.value = value;
        }

        public String getValue()
        {
            return value;
        }
    }
    public enum UseXj
    {
        WX("微信"){},
        CK("餐卡"){},
        XJ("现金"){},
        WXCK("微信和餐卡"){},
        WXXJ("微信和现金"){},
        WXCKXJ("微信和餐卡和现金"){},
        CKXJ("餐卡和现金"){};

        private String value;

        UseXj(String value)
        {
            this.value = value;
        }

        public String getValue()
        {
            return value;
        }
    }


}
